package gamebackend; 

import framework.GraphicsWrapper;

public interface Hazard {
	void step(final double the_yChange);
	void fixedStep(final double the_yChange);
	void render(final GraphicsWrapper g);
	/**
	 * The returned value should be based on fixedStep, not step.
	 * @return the vertical length left of this hazard before it passes.
	 */
	double getRemaining();
	boolean isAlive();
	double getLeft();
	double getWidth();

}
